package com.achievement.service;

import com.achievement.domain.dto.JoinMeetingDTO;
import com.achievement.domain.entity.JoinMeetingEntity;
import com.achievement.domain.param.JoinMeetingParam;
import com.achievement.domain.vo.JoinMeetingVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.api.BusinessApi;
import com.common.core.domain.AjaxResult;

import java.util.HashMap;
import java.util.List;

public interface IJoinMeetingService extends IService<JoinMeetingEntity>, BusinessApi {
    List<JoinMeetingVO> selectByPage(JoinMeetingParam param);

    List<JoinMeetingVO> getListByConditions(JoinMeetingParam param);
    JoinMeetingVO getInfoById(String id);


    AjaxResult add(JoinMeetingDTO dto);

    AjaxResult update(JoinMeetingDTO dto);

    boolean batchRemove(List<String> ids);

    /**
     * 左上方统计 通过，退回，待审核
     */
    List<HashMap<String, Integer>> listStatistics(JoinMeetingParam param);
}
